<template>
    <div class="topBar">
        <div class="searchBar">
            <searchBar />
        </div>
    </div>
</template>


<script setup>
import searchBar from '@/components/searchBar.vue'

</script>


<style scoped>
.topBar {
    /*背景渐变*/
    background-image: linear-gradient(to right,#fdf5f5, #ffc9d3, #fdf5f5);
    width: 100%;
    height: 100px;
    margin: 0 auto;
    border-radius: 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.searchBar {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
}
</style>